package day02;

import java.math.BigDecimal;

public class DoubleDemo {
    public static void main(String[] args) {
        double a=3.0,b=2.9;
        System.out.println(a-b);
        float c=3.0f,d=3.1f;
        System.out.println(d-c);
        double e=1.54,f=5.336;
        System.out.println(f-e);
        System.out.println(3.796+e);
    }
}
